from parse.AST.expr_statment import ExprStatment
from parse.AST.block import Block


class WhileStatement:
    def __init__(self, expr: ExprStatment, block: Block):
        self.expr = expr
        self.block = block